package vamp;
/**
 * The vamp_serviceweb.Route entity.
 *
 * @author    
 *
 *
 */
class Route {
    static mapping = {
         table 'route'
         // version is set to false, because this isn't available by default for legacy databases
         version false
         id generator:'identity', column:'idroute'
         member column:'idmember'
         address column:'idadress'
    }
    String comment
    // Relation
    Member member
    // Relation
    Address address

    static constraints = {
        comment()
        member()
        address()
    }
    String toString() {
        return "${id}"
    }
}
